<template>
  <div v-html="formData"></div>
</template>
<script>
export default {
  methods: {
    getOrderInfo() {
      document.forms[0].submit();
    }
  } ,
  data() {
    return {
      formData:''
    }
    //在页面dom渲染完成后弹出弹窗‘‘我来的刚刚好吧’’
  },
  created() {
    let data= this.$route.query.formData.data
    if(data!=null&&data!=""){
      this.formData=data
      this.$nextTick(function () {
        this.getOrderInfo();
      })
    }else{
     this.$router.push({
       path: '/topup'
     })
    }
  }
}
</script>
<style>

</style>
